<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>10网络技术</title>
<SCRIPT type=text/javascript src="__PUBLIC__/js/jquery.js"></SCRIPT>
<script>
	$().ready(function(){
		$("#student ul li").click(function(){
			var number=$(this).find(".number").val();
			var name=$(this).find("#name").html();
			$.ajax({
				url:"__URL__/info?number="+number+"&name="+name,
				dataType: "json",
				success:function(data){
					if(data=="1"){
						$("#xcontent ul li").html("未查到用户信息！");
						$("#xcontent ul li").eq(1).html("");
						$("#xcontent ul li").eq(2).html("");
						$("#xcontent ul li").eq(3).html("");
					}else{
					    var name=data.name;         //姓名
						
						var telphone=data.telphone; //手机号
						var qq=data.qq;				//QQ号
						var email=data.email;		//邮箱
						$("#xcontent ul li").html("姓名:"+name);
						$("#xcontent ul li").eq(1).html("电话:"+telphone);
						$("#xcontent ul li").eq(2).html("QQ:"+qq);
						$("#xcontent ul li").eq(3).html("邮箱:"+email);
					}

				}
			})
		})
	})
</script>
</head>
<body>
   <include file="public:top"/>
	<!--中间内容-->
    <div class="center_content">
	    <div class="title"><img src="__PUBLIC__/images/tubiao/album.png"/></div>
    	<div class="right_content">
		    <div id="xianshi">
				<div id="xcontent">
					<ul>
						<li></li>
						<li></li>
						<li></li>
						<li></li>
					</ul>
				</div>
				<img src="__PUBLIC__/images/mingpian/ming.png"/>
			</div>
			  <div id="student">
					<ul title="">
						  <foreach name="sinfo" item="vo">
							<li><a href="#" class="infoname"><img src="__PUBLIC__/images/touxiang/123.jpg"/><span id="name">{{$vo.name}}</span></a><input type="hidden" value="{{$vo.number}}" class='number'></li>
						  </foreach>
					</ul>
			  </div>  
		   <!--
			   <div id="page">
					<p>5 条记录 1/2 页 下一页  1  2  3 4  5 6 7 8 9  </p>
			   </div>
		   -->
        </div>
        <div class="clear"></div> 
    </div>
	<include file="public:footer"/>
</body>
</html>